package com.yf1706.dao.jpa;

import java.util.List;

import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.CrudRepository;

import com.yf1706.bean.Multiselect;
import com.yf1706.bean.QuestionBank;

public interface multiSelectJDAO extends CrudRepository<Multiselect, Integer>{
	
	public List<Multiselect> findByQuestionBank(QuestionBank q);

	public List<Multiselect> findByMultiselectId(int multiselectId);
	
	/*@Query("SELECT b from multiselect b where b.qb_id=?1")
	public List<Multiselect> findByqbId(int qbId);*/
	
}
